import React, { Suspense } from "react";
import { RouterProvider } from "react-router-dom";

import "./App.css";
import "antd/dist/reset.css";
import routerConfig from "./router";

function App() {
  return (
    <div className="App">
      <Suspense>
        <RouterProvider router={routerConfig} />
      </Suspense>
    </div>
  );
}

export default App;
